package com.test.dao;


import com.test.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    List<User> findAll() throws Exception;


    //根据条件进行用户查询
    User findByCondition(User user) throws Exception;

    long delete(User user) throws Exception;

    long deleteAll() throws Exception;

    long update(User user) throws Exception;

    long insert(User user) throws Exception;

}
